package com.enjoy.ioc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component("aa")
@Lazy
public class A {
    @Bean
    public B b(){
        return new B();
    }
}
